﻿<ion-view>
  <ion-nav-title>
     <div class="button-bar lr-btnToggles">
       <a class="button button-outline" ng-class="{'button-positive' : isActive('btnNoRead')}" ng-click="setActive('btnNoRead')">未读</a>
       <a class="button button-outline" ng-class="{'button-positive' : isActive('btnRead')}" ng-click="setActive('btnRead')">已读</a>
     </div>
  </ion-nav-title>
  <ion-content  delegate-handle="newslist-content">
    <div class="list mt5">
	  <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
      <ion-item class="item item-icon-left" ng-repeat="notice in notices" ng-click="openNoticesModal(notice.fullHead,notice.newsContent,notice.createDate,notice.category,notice.newsId)"  type="item-text-wrap">
        <div class="row">
          <i class="icon ion-ios-paper-outline"></i>
          <div class="col-80">
            <span>{{notice.fullHead}}</span>
          </div>
          <div class="col-20">
            <p class="lr-time">{{notice.CreateDate}}</p>
          </div>
        </div>
      </ion-item>
	  <ion-infinite-scroll ng-if="dat.moredata" on-infinite="doLoadMore()" distance="1%"></ion-infinite-scroll>
    </div>
  </ion-content>
</ion-view>
